From: Florian Fainelli Date: Sat, 8 Mar 2014 00:57:19 +0000 (+0000) Subject: ntripclient: pass our CFLAGS X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=1a774d69965ac15177e70ba7237cba412318fac8;p=openwrt%2Fsvn-archive%2Fpackages.git ntripclient: pass our CFLAGS Signed-off-by: Florian Fainelli SVN-Revision: 39817 --- diff --git a/net/ntripclient/Makefile b/net/ntripclient/Makefile index baf5177fe..d36e8a67b 100644 --- a/net/ntripclient/Makefile +++ b/net/ntripclient/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ntripclient PKG_VERSION:=1.5.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME).zip PKG_SOURCE_URL:=http://igs.bkg.bund.de/root_ftp/NTRIP/software/ @@ -36,6 +36,9 @@ define Build/Prepare unzip $(DL_DIR)/$(PKG_SOURCE) -d $(PKG_BUILD_DIR) endef +MAKE_FLAGS += \ + OPTS="$(TARGET_CFLAGS)" + define Package/ntripclient/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntripclient $(1)/usr/bin/